<template>

<el-card shadow="never" style="margin-top: 5px">
  <h2 style="text-align: center">富文本 😀</h2>
  <RichText :url="''" @change-data="onRichTextData" style="margin-bottom:15px ;"></RichText>
  <UserDefinedTable :data="tb.data" :configuration="tb.configuration">
    </UserDefinedTable>
</el-card>
</template>

<script setup lang="ts" name="RichTextPage">
onActivated(()=>{
  console.log('sada')
})
const tb = reactive({
  data: [
    {
      parameter:"url",
      explain:"解析URL为html",
    },
  ],
  configuration: [
    {
      prop: "parameter",
      label: "排序",
      slotName: "parameter",
      width: "100px",
    },
    {
      prop: "explain",
      label: "说明",
      slotName: "explain",
    },
  ],
});
// 富文本输入响应事件
const onRichTextData = (html: any) => {
  
};
</script>

<style scoped lang="less"></style>